package demo5_extends;

public class TestDemo5 {
    public static void main(String[] args) {
        Test t = new Test();
        t.testA();
        t.testB();
    }
}

interface A {
    void testA();
}

class Test implements B {
    @Override
    public void testB() {

    }

    @Override
    public void testA() {

    }
}

interface B extends A {

    void testB();
}
